package cn.edu.hqu.javaee.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="studentcurriculum")
public class curriculum{
	
	@Id
	@Column(name="id")
	private String id;
	
	@Column(name="course")
	private String course;
	
	public void setId(String string) {
		this.id=string;
	}
	public String getId(){
		return id;
	}
	
	public void setCourse(String string) {
		this.course=string;
	}
	public String getCourse(){
		return course;
	}
}